package Day04;

public class ForDemo {
    public static void main(String[] args) {

        //for循环i变量为局部变量,作用域
        for (int i=1;i<=9;i++){
            for(int i1=1;i1<=i;i1++){
                System.out.print(i1 + "*" + i +"=" + (i*i1) + "\t");

            }
            System.out.println();
        }

        int sum = 0;
        for (int i=1;i<=100;i++){
            sum += i;
        }
        System.out.println(sum);

        int b = 'a'+'b'+'c';
        System.out.println(b);

    }
}
